#ifndef __LSM6DSL_H__
#define __LSM6DSL_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "main.h"
#include "LSM6DSLIB.h"	
#include "bsp_iic.h"


typedef struct
{
		User_bsp_iic_t						my_iic;
		lsm6dsl_ctx_t 						dev_ctx;	
		lsm6dsl_status_reg_t  		StatusReg;	
		uint8_t										SensorOut[6];
		int16_t 									xValue;
		int16_t										yValue;
	  int16_t										zValue;
	
		int16_t 									Ang_x;
		int16_t										Ang_y;
	  int16_t										Ang_z;
}User_LSM6DSL_t;
































void LSM6DSL_Init(void);
void LSM6DSL_Task(void);
#endif





